home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 10
/
FM Towns Free Software Collection 10.iso
/
ms_dos
/
tool
/
conhlp03
/
fswchsrc
/
makefile
< prev
next >
Wrap
Makefile
|
1994-11-16
|
2KB
|
65 lines
# fswch.mk
# fswch makefile
# Ver 0.04 writen by calo.
# タウンズ専用版
# lcc @{ -DTOWNS -o fswch.exe h3 dispprog lookfile keyword sel_menu setkey str
# oprate instl -ltinymain.obj -lintlib }
# MS-DOS汎用版
# lcc @{ -o fswch.exe h3 dispprog lookfile keyword sel_menu setkey str
# instl -ltinymain.obj -lintlib }
#
# TOWNS for パッド操作 キーBIOS
PADFLAG = -DTOWNS
OBJR = r_h3.obj r_dispprog.obj r_lookfile.obj r_keyword.obj r_sel_menu.obj \
r_setkey.obj r_instl.obj str.obj
OBJT = h3.obj dispprog.obj lookfile.obj keyword.obj sel_menu.obj \
setkey.obj instl.obj str.obj oprate.obj
LNK = -ltinymain.obj -lintlib
# どちらかを選ぶ
# fswch.exe : fswchr.exe # MS-DOS汎用版
fswch.exe : fswcht.exe # タウンズ専用版
rename fswch?.exe fswch.exe
-fswch -h
fswchr.exe : $(OBJR)
lcc @${-o $@ $(OBJR) $(LNK)}
fswcht.exe : $(OBJT)
lcc @${-o $@ $(OBJT) $(LNK)}
# タウンズ専用版
h3.obj : h3.c fswch.h
lcc $PADFLAG -c -o $@ $<
dispprog.obj : dispprog.c fswch.h
lcc $PADFLAG -c -o $@ $<
lookfile.obj : lookfile.c fswch.h
lcc $PADFLAG -c -o $@ $<
keyword.obj : keyword.c fswch.h
lcc $PADFLAG -c -o $@ $<
setkey.obj : setkey.c fswch.h
lcc $PADFLAG -c -o $@ $<
instl.obj : instl.c fswch.h
lcc $PADFLAG -c -o $@ $<
sel_menu.obj : sel_menu.c
lcc $PADFLAG -c -o $@ $<
# MS-DOS汎用版
r_h3.obj : h3.c fswch.h
lcc -c -o $@ $<
r_dispprog.obj : dispprog.c fswch.h
lcc -c -o $@ $<
r_lookfile.obj : lookfile.c fswch.h
lcc -c -o $@ $<
r_keyword.obj : keyword.c fswch.h
lcc -c -o $@ $<
r_setkey.obj : setkey.c fswch.h
lcc -c -o $@ $<
r_instl.obj : instl.c fswch.h
lcc -c -o $@ $<
r_sel_menu.obj : sel_menu.c
lcc -c -o $@ $<